package cn.bjxy.shishaolong.system.profession_course.mapper;

import cn.bjxy.shishaolong.system.profession_course.entity.Profession;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 时少龙
 * @since 2019-03-12
 */
public interface ProfessionMapper extends BaseMapper<Profession> {

    /**
     * 根据答疑室id 查询答疑室的专业
     * @param roomId
     * @return
     */
    List<Profession> queryForRoomByRoomId(Integer roomId);
}
